<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 400px;
            height: 60px;
            border: 1px solid;
            margin-top: 10px;
        }
        .d1{
            background-image:linear-gradient(45deg,yellow 0%,yellow 25%,blue 25%,blue 50%,red 50%,red 75%,green 75%,green 100%);
        }
        .d2{
            background-image:repeating-linear-gradient(90deg,black 0%,black 25%,white 25%,white 50%) ;
        }
        h1{
            width: 300px;
            height: 100px;
           
            background-image:linear-gradient(45deg ,orange 0%,orange 35%,blue 35%,blue 60%,red 60%,red 100%); 
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .d3{
            /* width: 400px;  
            height: 400px;  
            background:repeating-linear-gradient(to right,#ffffff,#ffffff 10px,#ff0000 10px,#ff0000 20px );
            background:repeating-linear-gradient(to bottom,#ff0000,#ff0000 10px,#ffffff 10px,#ffffff 20px );
            background-size:20px 20px; */
            width: 500px; 
            height: 500px; 
            background:   
                linear-gradient(45deg, #ff968a 25%, transparent 25%, transparent 75%, #ff968a 75%, #ff968a),  
                linear-gradient(45deg, #ff968a 25%, transparent 25%, transparent 75%, #ff968a 75%, #ff968a);  
            background-size: 50px 50px; 
            background-position: 0 0, 25px 25px; 
            opacity: 1; 
        }
    </style>
</head>
<body>
    <div class="d1"></div>
    <div class="d2"></div>
    <h1>中华人民共和国</h1>
    <div class="d3"></div>
</body>
</html>